<div class="page-content" >
            
    <div class="panel panel-default">
        <div class="panel-heading">
            <strong>班级管理</strong>
        </div>
        <div class="panel-body">
            <div id="toolbar" style="width: 100%;">
                <form id="filter" method="get"  class="form-horizontal">
                    <div class="form-group">
                        <div class="col-sm-3">
                            <input type="text" name="kw" value="<{$kw}>" class="form-control" placeholder="课程">
                        </div>
						<!--<div class="col-sm-3">
                            <select name="subject_id">
							<option value="0">关联线上课程</option>
							<volist name="subject_list" id="vo">
							<option <if condition="$vo['subjectid'] eq $subject_id">selected="selected"</if> value="<{$vo.subjectid}>"><{$vo.subject}></option>
							</volist>
							</select>
                        </div>-->
						 <div class="col-sm-2" style="float:right; width:auto">
                            <input type="submit" class="btn btn-primary pull-right" value="筛选">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8">
                            <a href="<{:U('Subject/add_subject_class')}>" class="btn btn-default">
                                <i class="fa fa-plus"></i>
                                添加
                            </a>
																												
																											 <a data-type="modal" href="/BoxAdmin/System/dict_add/name/subject_class_type" class="btn btn-default">
                                班级分类
                            </a>
                        </div>
                         
                    </div>
                </form>
            </div>
       <div class="bootstrap-table">
		<div class="fixed-table-container" style="padding-bottom: 0px;"> 
			<div class="fixed-table-body"> 
				<table id="data-table" class="table"><thead>
			<tr>
			 
			<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">类型</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">班级名称</div><div class="fht-cell"></div></th>
					<th style="" data-field="created_at"><div class="th-inner ">添加时间</div><div class="fht-cell"></div></th> 
     	<th style="" data-field="created_at"><div class="th-inner ">排序</div><div class="fht-cell"></div></th> 
					 
			<th style="" data-field="id"><div class="th-inner ">操作</div><div class="fht-cell"></div></th>
			</tr></thead>
			<tbody>
			<volist name="subject_class" id="vo">
			<tr data-index="0">
			<td style=""><{$vo.id}></td>
			<td style=""><{$subject_class_type[$vo['type']]}></td>
			<td style=""><{$vo.name}></td>
			<td style=""><{$vo.add_time}></td>
   			<td style=""> <input type="text" key="id" placeholder="顺序" onblur="set_order(this)" table="edu_subject_class" id="<{$vo.id}>" value="<{$vo.order_by}>" autocomplete="off">
</td>
   			 
			<td style="">
			<a href="<{:U('Subject/add_subject_class',array('id'=>$vo['id']))}>" class="btn btn-primary btn-xs">编辑</a>&nbsp;&nbsp;<a data-type="confirm" content="确认删除吗？" href="<{:U('Subject/del_subject_class',array('id'=>$vo['id']))}>" class="btn btn-primary btn-xs delete-this">删除</a>
		&nbsp;&nbsp;<a data-type="modal"  href="<{:addons_url('Blocks/Index/add',array('blocks_name'=>'ClassSlide'.$vo['id']))}>" class="btn btn-primary btn-xs">广告区域</a>
			
			 
			</td>
			</tr>
			</volist>
			</tbody></table>
			 </div> 
			  <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" />
		</div>
	    </div>
			<div class="clearfix"></div>
        </div>
    </div>
     
</div>
		
 